package com.ibiaoke.order.service;

import com.ibiaoke.order.entity.XcxAddress;
import com.ibiaoke.order.entity.vo.XcxAddressVo;
import java.util.List;

public interface XcxAddressService {

    /**
     * 保存收货地址信息
     */
    int saveXcxAddress(XcxAddressVo xcxAddressVO);

    /**
     * 查询地址列表
     */
    List<XcxAddress> listXcxAddress(Integer customerId);

    /**
     * 查询单个地址
     */
    XcxAddress getXcxAddress(Integer addressId);

    /**
     * 更改收货地址信息
     */
    int updateXcxAddress(XcxAddressVo xcxAddressVO);



    int deleteOrderAddress(Integer addressId);


    Double getDistinceByShopAndAddress(XcxAddress xcxAddress,Integer shopid);
}
